package com.skynet.springcloud.dao;

import com.skynet.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Skynet
 * @date 2018年04月27日 20:38
 */
@Mapper
public interface DeptDao {

    boolean addDept(Dept dept);

    List<Dept> findAll();

    Dept findById(Long id);

}
